package com.dandan.mobilelover.dao;

import org.springframework.data.jpa.repository.JpaRepository;

import com.dandan.mobilelover.dao.ci.UserDao;
import com.dandan.mobilelover.entity.User;

public interface UserRepository extends JpaRepository<User, Integer>, UserDao{
	public User findById(int id);
	
	public User save(User user);
	
	public User findByPassportAndPassword(String passport, String password);
	
}
